<%@ Page Language="C#" Theme="Defaultsys" AutoEventWireup="true" CodeFile="SummaryReport.aspx.cs"
    Inherits="SummaryReport" Title="Rapport Plan System - Summary report" MasterPageFile="~/MasterPage.master" %>

<%@ MasterType VirtualPath="~/MasterPage.master" %>
<asp:Content runat="server" ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1">
    <table border="0" width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td class="contTable">
                <asp:GridView ID="grdCalls" SkinID="gvGrid" runat="server" AutoGenerateColumns="false"
                    AllowPaging="true" Width="100%" OnPageIndexChanging="grdCalls_PageIndexChanging">
                    <Columns>
                        <asp:TemplateField HeaderText="ID" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                         HeaderStyle-Width="3%">
                            <ItemTemplate>
                                <%# Container.DataItemIndex + 1 %>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="User" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
                            <ItemTemplate>
                                <asp:HyperLink ID="id" runat="server" NavigateUrl='<%# "UserCallDetails.aspx?id="+Global.EncryptString(Eval("UserId").ToString())%>'><%# Eval("ConnectName")%></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="Assigned phone calls" DataField="Calls" SortExpression="Calls"
                            HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" />
                    </Columns>
                    <EmptyDataTemplate>
                        There are currently no assigned phone calls.</EmptyDataTemplate>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
